package com.gangan.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 就诊人实体类
 * @author wuyunhu
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_patient")
@ApiModel(value="就诊人实体类")
public class Patient implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="就诊人ID")
    private Integer customerId;

    @ApiModelProperty(value="用户Id(预约代理人Id)")
    private Integer userId;

    @ApiModelProperty(value="就诊人姓名")
    private String patientName;

    @ApiModelProperty(value="就诊人英文名")
    private String patientEnname;

    @ApiModelProperty(value="就诊人性别")
    private String patientSex;

    @ApiModelProperty(value="就诊人年龄")
    private Integer patientAge;

    @ApiModelProperty(value="就诊人电话")
    private String patientPhone;

    @ApiModelProperty(value="就诊人身份证号码")
    private String patientIdcard;

    @ApiModelProperty(value="证件类型")
    private String cardType;

    @ApiModelProperty(value="备注")
    private String mark;


}
